package cn.shyouchi.wuguanjia.android.chart;

/**
 * Created by Eenie on 2016/11/23 at 15:47
 * Email: 472279981@qq.com
 * Des:
 */

public class YValue {

    private int id;   //班次ID
    private String name; //班次名
    private String startTime;//班次的开始时间
    private String endTime;//班次的结束时间
    private double interval;//班次的工作时间
    private int count;//班次的个数

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public double getInterval() {
        return interval;
    }

    public void setInterval(double interval) {
        this.interval = interval;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void addCount(int count) {
        this.count = this.count + count;
    }

    public double getTotalTime() {
        return interval * count;
    }
}
